package com.fsquare.controller.account;

import org.broadleafcommerce.profile.web.core.form.RegisterCustomerForm;

import com.fsquare.component.captcha.CaptchaForm;
import com.fsquare.domain.social.SocialToken;

//import com.fsquare.component.captcha.CaptchaForm;
//import com.fsquare.domain.social.SocialToken;

public class CustomRegisterCustomerForm extends RegisterCustomerForm {

	private static final long serialVersionUID = 1L;

	private CaptchaForm captchaForm;
	
	private SocialToken socialToken;
	
	public CustomRegisterCustomerForm(){
		super();
	}
	
	public CustomRegisterCustomerForm(RegisterCustomerForm registerCustomerForm){
		customer = registerCustomerForm.getCustomer();
		password = registerCustomerForm.getPassword();
	    passwordConfirm = registerCustomerForm.getRedirectUrl();
	    redirectUrl = registerCustomerForm.getPassword();
	}
	
	public CaptchaForm getCaptchaForm() {
		return captchaForm;
	}

	public void setCaptchaForm(CaptchaForm captchaForm) {
		this.captchaForm = captchaForm;
	}

	public SocialToken getSocialToken() {
		return socialToken;
	}

	public void setSocialToken(SocialToken socialToken) {
		this.socialToken = socialToken;
	}
	
}
